package com.acme.bankapp.service.bank.listener;

import com.acme.bankapp.domain.bank.client.Client;

import java.io.Serializable;

/**
 * This interface declarates method which is called when client added to the bank
 * @author Alexander Kotov (kotov.alex.22@gmail.com)
 */
public interface ClientRegistrationListener extends Serializable {
    /**
     * This method called when client added to the bank
     * @param client
     */
    void onClientAdded(Client client);
}
